package com.biz.hunter.db.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class EmployeePerson implements Serializable {

	public enum State {
		generated, binded, auditing, approved, rejected, active, inactive;
	}

	private static final long serialVersionUID = 1L;
	public static int activate = 1;
	public static int inactivate = 0;
	// private ArrayList <String> expectCompanies = new ArrayList <String>();
	private Integer expectJob;
	private String expectJobName;

	private int intentTime;
	private int expectCompany1;
	private int expectCompany2;
	private int expectCompany3;
	private String expectCompanyName1;
	private String expectCompanyName2;
	private String expectCompanyName3;
	private int majorDomainId1;
	private int majorDomainId2;
	private int majorDomainId3;
	private String majorDomain1;
	private String majorDomain2;
	private String majorDomain3;

	private String fileName;
	private int completed; // 0- 1- --1

	private String comment;
	private int personId;
	private int empid;

	private Company company; // name ,id 都是唯一的。

	private String secureCode;
	private Timestamp ExpiredTime;
	private String headImgUrl;
	private String imgUrl;
	private String state;
	private int subDomainId;
	private int subDomainName;

	/*****/
	private int domainId;
	private String domainName;
	private int registed;
	private String jobName;
	private String phone;
	private String openid;
	private int active;
	// 补充person
	private Integer id;
	private String name;
	private int age;
	private Integer workage = 3;
	private String mobile;
	private String email;
	private String address;
	private String icon;
	private String image;
	private String bestdomain;
	private long createDate;
	// protected String location;
	private int cityId;
	private String cityName;
	private long roleId;
	private int companyId;
	private int inservice;
	private String companyName;
	private int platformId;
	private String roleName;

	public EmployeePerson() {
		super();
		expectJob = 0;
		intentTime = 0;
		expectCompany1 = 0;
		expectCompany2 = 0;
		expectCompany3 = 0;
		domainId = 0;
		age = 0;
		workage = 0;
		fileName = "";
		completed = 0;
		registed = 0;
		// setDomainId(0);
		comment = "";
		active = 0;
		createDate = 0L;
		cityId = 0;
		active = 0;
		inservice= 0;
	}

	public Integer getExpectJob() {
		return expectJob;
	}

	public void setExpectJob(Integer expectJob) {
		this.expectJob = expectJob;
	}

	public int getIntentTime() {
		return intentTime;
	}

	public void setIntentTime(int intentTime) {
		this.intentTime = intentTime;
	}

	public int getExpectCompany1() {
		return expectCompany1;
	}

	public void setExpectCompany1(int expectCompany1) {
		this.expectCompany1 = expectCompany1;
	}

	public int getExpectCompany3() {
		return expectCompany3;
	}

	public void setExpectCompany3(int expectCompany3) {
		this.expectCompany3 = expectCompany3;
	}

	public int getExpectCompany2() {
		return expectCompany2;
	}

	public void setExpectCompany2(int expectCompany2) {
		this.expectCompany2 = expectCompany2;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getMajorDomainId1() {
		return majorDomainId1;
	}

	public void setMajorDomainId1(int majorDomainId1) {
		this.majorDomainId1 = majorDomainId1;
	}

	public int getMajorDomainId2() {
		return majorDomainId2;
	}

	public void setMajorDomainId2(int majorDomainId2) {
		this.majorDomainId2 = majorDomainId2;
	}

	public int getMajorDomainId3() {
		return majorDomainId3;
	}

	public void setMajorDomainId3(int majorDomainId3) {
		this.majorDomainId3 = majorDomainId3;
	}

	public String getMajorDomain1() {
		return majorDomain1;
	}

	public void setMajorDomain1(String majorDomain1) {
		this.majorDomain1 = majorDomain1;
	}

	public String getMajorDomain2() {
		return majorDomain2;
	}

	public void setMajorDomain2(String majorDomain2) {
		this.majorDomain2 = majorDomain2;
	}

	public String getMajorDomain3() {
		return majorDomain3;
	}

	public void setMajorDomain3(String majorDomain3) {
		this.majorDomain3 = majorDomain3;
	}

	public int getCompleted() {
		return completed;
	}

	public void setCompleted(int completed) {
		this.completed = completed;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comments) {
		this.comment = comments;
	}

	public int getPersonId() {
		return personId;
	}

	public void setPersonId(int personId) {
		this.personId = personId;
		// super.setId(personId);
	}

	public int getEmpid() {
		return empid;
	}

	public void setEmpid(int empid) {
		this.empid = empid;
	}

	public String getExpectCompanies() {
		return expectCompany1 + "," + expectCompany2 + "," + expectCompany3;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getExpectCompanyName1() {
		return expectCompanyName1;
	}

	public void setExpectCompanyName1(String expectCompanyName1) {
		this.expectCompanyName1 = expectCompanyName1;
	}

	public String getExpectCompanyName2() {
		return expectCompanyName2;
	}

	public void setExpectCompanyName2(String expectCompanyName2) {
		this.expectCompanyName2 = expectCompanyName2;
	}

	public String getExpectCompanyName3() {
		return expectCompanyName3;
	}

	public void setExpectCompanyName3(String expectCompanyName3) {
		this.expectCompanyName3 = expectCompanyName3;
	}

	public String getSecureCode() {
		return secureCode;
	}

	public void setSecureCode(String secureCode) {
		this.secureCode = secureCode;
	}

	public Timestamp getExpiredTime() {
		return ExpiredTime;
	}

	public void setExpiredTime(Timestamp expiredTime) {
		ExpiredTime = expiredTime;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getExpectJobName() {
		return expectJobName;
	}

	public void setExpectJobName(String expectJobName) {
		this.expectJobName = expectJobName;
	}

	public int getSubDomainId() {
		return subDomainId;
	}

	public void setSubDomainId(int subDomainId) {
		this.subDomainId = subDomainId;
	}

	public int getSubDomainName() {
		return subDomainName;
	}

	public void setSubDomainName(int subDomainName) {
		this.subDomainName = subDomainName;
	}

	public int getDomainId() {
		return domainId;
	}

	public void setDomainId(int domainId) {
		this.domainId = domainId;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	public int getRegisted() {
		return registed;
	}

	public void setRegisted(int registed) {
		this.registed = registed;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public int getActive() {
		return active;
	}

	public void setActive(int active) {
		this.active = active;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Integer getWorkage() {
		return workage;
	}

	public void setWorkage(Integer workage) {
		this.workage = workage;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getBestdomain() {
		return bestdomain;
	}

	public void setBestdomain(String bestdomain) {
		this.bestdomain = bestdomain;
	}

	public long getCreateDate() {
		return createDate;
	}

	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public long getRoleId() {
		return roleId;
	}

	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}

	public int getCompanyId() {
		return companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public int getInservice() {
		return inservice;
	}

	public void setInservice(int inservice) {
		this.inservice = inservice;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public int getPlatformId() {
		return platformId;
	}

	public void setPlatformId(int platformId) {
		this.platformId = platformId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	@Override
	public String toString() {
		return "EmployeePerson{" +
				"expectJob=" + expectJob +
				", expectJobName='" + expectJobName + '\'' +
				", intentTime=" + intentTime +
				", expectCompany1=" + expectCompany1 +
				", expectCompany2=" + expectCompany2 +
				", expectCompany3=" + expectCompany3 +
				", expectCompanyName1='" + expectCompanyName1 + '\'' +
				", expectCompanyName2='" + expectCompanyName2 + '\'' +
				", expectCompanyName3='" + expectCompanyName3 + '\'' +
				", majorDomainId1=" + majorDomainId1 +
				", majorDomainId2=" + majorDomainId2 +
				", majorDomainId3=" + majorDomainId3 +
				", majorDomain1='" + majorDomain1 + '\'' +
				", majorDomain2='" + majorDomain2 + '\'' +
				", majorDomain3='" + majorDomain3 + '\'' +
				", fileName='" + fileName + '\'' +
				", completed=" + completed +
				", comment='" + comment + '\'' +
				", personId=" + personId +
				", empid=" + empid +
				", company=" + company +
				", secureCode='" + secureCode + '\'' +
				", ExpiredTime=" + ExpiredTime +
				", headImgUrl='" + headImgUrl + '\'' +
				", imgUrl='" + imgUrl + '\'' +
				", state='" + state + '\'' +
				", subDomainId=" + subDomainId +
				", subDomainName=" + subDomainName +
				", domainId=" + domainId +
				", domainName='" + domainName + '\'' +
				", registed=" + registed +
				", jobName='" + jobName + '\'' +
				", phone='" + phone + '\'' +
				", openid='" + openid + '\'' +
				", active=" + active +
				", id=" + id +
				", name='" + name + '\'' +
				", age=" + age +
				", workage=" + workage +
				", mobile='" + mobile + '\'' +
				", email='" + email + '\'' +
				", address='" + address + '\'' +
				", icon='" + icon + '\'' +
				", image='" + image + '\'' +
				", bestdomain='" + bestdomain + '\'' +
				", createDate=" + createDate +
				", cityId=" + cityId +
				", cityName='" + cityName + '\'' +
				", roleId=" + roleId +
				", companyId=" + companyId +
				", inservice=" + inservice +
				", companyName='" + companyName + '\'' +
				", platformId=" + platformId +
				", roleName='" + roleName + '\'' +
				'}';
	}
}
